package cn.ickck.law_paper_final.service;

import cn.ickck.law_paper_final.model.entity.HouseLoan;

import java.util.List;

/**
 * @Author: ck
 * @Description:
 * @Date: Create in 19:42 2020/10/14
 */
public interface HouseLoanService {
    //查询所有房贷信息
    List<HouseLoan> findAll();

    int count();

    List<HouseLoan> selectByPage(int start, int end);

    Integer deleteById(Integer id);


   Integer insert(HouseLoan houseLoan);

    Integer update(HouseLoan houseLoan);


    List<HouseLoan> selectByNameOrKey(String key);

    void deleteByKey(String key);
}
